package com.ssy.lingxi.order.model.constant;

/**
 * 订单时间参数枚举
 * @author wyx
 * @version 2.0.0
 * @date 2021-10-13
 */
public enum OrderTimeParamEnum {
    /**
     * 自动确认收货 - 1
     */
    AUTO_RECEIVE_DAY(1, "自动确认收货"),

    /**
     * 送货预约时长 - 2
     */
    DELIVERY_APPOINTMENT_DAY(2, "送货预约时长"),

    /**
     * 配送时间段 - 3
     */
    DELIVERY_TIME(3, "配送时间段");

    OrderTimeParamEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
